<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>编辑文章</title>
</head>

<body>
<div style="margin: 20px auto; width: 960px;" align="left">
<fieldset style="border: #AAAAAA 2px solid;">
    <legend><span style="font-weight: bold; font-size: 18px; color: #2A1FFF;">&nbsp;编辑文章&nbsp;</span></legend>
    <form method="post" action="action.php">
    <p>标题: <input name="title" value="{$article.title}" size="50" /></p>
    <P>时间: <input name="article_time" value="{$article.article_time|default:$smarty.now|date_format:'%Y-%m-%d %H:%M:%S'}" size="20" /></p>
    <p>内容:<br/>
    <textarea rows="20" cols="100" name="content">{$article.content}</textarea>
    </p>
    <input type="hidden" name="action" value="edit_article" />
    <input type="hidden" name="article_id" value="{$article.article_id}" />
    <input type="submit" value="提交" />
    </form>
</fieldset>
</div>

</body>
</html>